<!DOCTYPE html>
<html>
<head>
    
<!-- Google Analytics -->
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-104674648-1', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<!-- End Google Analytics -->


    

    
<!-- Baidu Tongji -->
<script>var _hmt = _hmt || []</script>
<script async src="//hm.baidu.com/hm.js?d230cbd4c1f4abd065bc1ca0e61663da"></script>
<!-- End Baidu Tongji -->




    <meta charset="utf-8">
    
    <meta name="google-site-verification" content="x0NhT11Wdmfn9lsdbcQQOIhQHQKeNWATVfTj5rYZWXo">
    
    
    
    
    <title>利用github page搭建博客完整版教程 | Zhuhao&#39;s Blog | I am the captain of my ship and the master of my fate.</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <meta name="theme-color" content="#3F51B5">
    
    
    <meta name="keywords" content="jekyll">
    <meta name="description" content="前言 前两天为了搭建博客，踩了不少的坑，但是昨天发的简易版教程图的是简单，就没把那些复杂的东西放上来， 今天就把我踩过的坑连带着进阶的知识放上来，让你们可以有解决办法。">
<meta name="keywords" content="jekyll">
<meta property="og:type" content="article">
<meta property="og:title" content="利用github page搭建博客完整版教程">
<meta property="og:url" content="http://greedyhao.cc/2017/08/11/工作-jekyll-2017-08-11-完整版搭建博客教学/index.html">
<meta property="og:site_name" content="Zhuhao&#39;s Blog">
<meta property="og:description" content="前言 前两天为了搭建博客，踩了不少的坑，但是昨天发的简易版教程图的是简单，就没把那些复杂的东西放上来， 今天就把我踩过的坑连带着进阶的知识放上来，让你们可以有解决办法。">
<meta property="og:locale" content="zh-CN">
<meta property="og:image" content="http://greedyhao.cc/img/jekyll/includes.png">
<meta property="og:image" content="http://greedyhao.cc/img/jekyll/git图片源问题.png">
<meta property="og:image" content="http://greedyhao.cc/img/jekyll/绑定域名.png">
<meta property="og:image" content="http://greedyhao.cc/img/jekyll/绑定域名2.png">
<meta property="og:updated_time" content="2017-08-14T13:26:28.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="利用github page搭建博客完整版教程">
<meta name="twitter:description" content="前言 前两天为了搭建博客，踩了不少的坑，但是昨天发的简易版教程图的是简单，就没把那些复杂的东西放上来， 今天就把我踩过的坑连带着进阶的知识放上来，让你们可以有解决办法。">
<meta name="twitter:image" content="http://greedyhao.cc/img/jekyll/includes.png">
    
        <link rel="alternate" type="application/atom+xml" title="Zhuhao&#39;s Blog" href="/atom.xml">
    
    <link rel="shortcut icon" href="/favicon.png">
    <link rel="stylesheet" href="//unpkg.com/hexo-theme-material-indigo@latest/css/style.css">
    <script>window.lazyScripts=[]</script>

    <!-- custom head -->
    

</head>

<body>
    <div id="loading" class="active"></div>

    <aside id="menu" class="hide" >
  <div class="inner flex-row-vertical">
    <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
        <i class="icon icon-lg icon-close"></i>
    </a>
    <div class="brand-wrap" style="background-image:url(/img/brand.jpg)">
      <div class="brand">
        <a href="/" class="avatar waves-effect waves-circle waves-light">
          <img src="/img/portrait.jpg">
        </a>
        <hgroup class="introduce">
          <h5 class="nickname">Greedyhao</h5>
          <a href="mailto:hao_kr@163.com" title="hao_kr@163.com" class="mail">hao_kr@163.com</a>
        </hgroup>
      </div>
    </div>
    <div class="scroll-wrap flex-col">
      <ul class="nav">
        
            <li class="waves-block waves-effect">
              <a href="/"  >
                <i class="icon icon-lg icon-home"></i>
                主页
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/archives"  >
                <i class="icon icon-lg icon-archives"></i>
                Archives
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/tags"  >
                <i class="icon icon-lg icon-tags"></i>
                Tags
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/categories"  >
                <i class="icon icon-lg icon-th-list"></i>
                Categories
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="https://github.com/greedyhao" target="_blank" >
                <i class="icon icon-lg icon-github"></i>
                Github
              </a>
            </li>
        
      </ul>
    </div>
  </div>
</aside>

    <main id="main">
        <header class="top-header" id="header">
    <div class="flex-row">
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
          <i class="icon icon-lg icon-navicon"></i>
        </a>
        <div class="flex-col header-title ellipsis">利用github page搭建博客完整版教程</div>
        
        <div class="search-wrap" id="search-wrap">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
                <i class="icon icon-lg icon-chevron-left"></i>
            </a>
            <input type="text" id="key" class="search-input" autocomplete="off" placeholder="输入感兴趣的关键字">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
                <i class="icon icon-lg icon-search"></i>
            </a>
        </div>
        
        
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
            <i class="icon icon-lg icon-share-alt"></i>
        </a>
        
    </div>
</header>
<header class="content-header post-header">

    <div class="container fade-scale">
        <h1 class="title">利用github page搭建博客完整版教程</h1>
        <h5 class="subtitle">
            
                <time datetime="2017-08-11T00:00:00.000Z" itemprop="datePublished" class="page-time">
  2017-08-11
</time>


	<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/工作/">工作</a></li></ul>

            
        </h5>
    </div>

    


</header>


<div class="container body-wrap">
    
    <aside class="post-widget">
        <nav class="post-toc-wrap post-toc-shrink" id="post-toc">
            <h4>TOC</h4>
            <ol class="post-toc"><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#前言"><span class="post-toc-number">1.</span> <span class="post-toc-text">前言</span></a></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#简单的修改主题框架"><span class="post-toc-number">2.</span> <span class="post-toc-text">简单的修改主题框架</span></a></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#图片的问题"><span class="post-toc-number">3.</span> <span class="post-toc-text">图片的问题</span></a></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#开源协议的使用"><span class="post-toc-number">4.</span> <span class="post-toc-text">开源协议的使用</span></a></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#使用github的图片源的问题"><span class="post-toc-number">5.</span> <span class="post-toc-text">使用github的图片源的问题</span></a></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#markdown选用"><span class="post-toc-number">6.</span> <span class="post-toc-text">markdown选用</span></a></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#给博客绑定自己的域名"><span class="post-toc-number">7.</span> <span class="post-toc-text">给博客绑定自己的域名</span></a></li></ol>
        </nav>
    </aside>


<article id="post-工作-jekyll-2017-08-11-完整版搭建博客教学"
  class="post-article article-type-post fade" itemprop="blogPost">

    <div class="post-card">
        <h1 class="post-card-title">利用github page搭建博客完整版教程</h1>
        <div class="post-meta">
            <time class="post-time" title="2017-08-11 08:00:00" datetime="2017-08-11T00:00:00.000Z"  itemprop="datePublished">2017-08-11</time>

            
	<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/工作/">工作</a></li></ul>



            
<span id="busuanzi_container_page_pv" title="文章总阅读量" style='display:none'>
    <i class="icon icon-eye icon-pr"></i><span id="busuanzi_value_page_pv"></span>
</span>


        </div>
        <div class="post-content" id="post-content" itemprop="postContent">
            <h1 id="前言">前言</h1>
<p>前两天为了搭建博客，踩了不少的坑，但是昨天发的简易版教程图的是简单，就没把那些复杂的东西放上来， 今天就把我踩过的坑连带着进阶的知识放上来，让你们可以有解决办法。</p>
<a id="more"></a>
<p>_config.yml ================= 这是一个重要的文件，看名字也知道，这是一个配置文件。 <figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">name: Less Or More</span><br><span class="line">email: hao_kr@163.com</span><br><span class="line">author: Greedyhao</span><br><span class="line">url:</span><br><span class="line">resume_site:</span><br><span class="line">github: https://github.com/greedyhao/</span><br><span class="line">baseurl: &quot;&quot;</span><br><span class="line">...</span><br></pre></td></tr></table></figure></p>
<p>这是我的配置文件的其中一部分。</p>
<p>假如我在另外一个文件中想知道现在这个使用主题的主人是谁，就只需要site.author， 就可以获得作者的名字，这样就不用每换一个使用者就要到处去更改程序，很方便，特别方便那些不是 学网页的人。</p>
<h1 id="简单的修改主题框架">简单的修改主题框架</h1>
<p>觉得某一个喜欢的主题在某一个地方让自己不满意而自己却不是学网页的怎么办呢？ 不用急，那就使用谷歌爸爸的利器chrome，按F12，开发者工具可以帮助你方便的修改主题。 <a href="http://www.cnblogs.com/cursorhu/p/6141365.html" target="_blank" rel="noopener">不懂CSS也能定制博客界面!</a></p>
<p>另外提醒一下，你在开发者工具的Elements这一栏看到的这一个文件可能不止是一个文件， 可能是多个文件拼在一起的，一般应该在_includes这个文件夹中。 <figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="/img/jekyll/includes.png" alt="" title="">
                </div>
                <div class="image-caption"></div>
            </figure></p>
<h1 id="图片的问题">图片的问题</h1>
<ul>
<li>尺寸</li>
</ul>
<p>图片的尺寸不能太大，否则显示的效果就会不好。送大家一个 <a href="http://www.fotor.com/cn/app.html#/editor/basic" target="_blank" rel="noopener">缩小图片的利器</a> + 图片的大小</p>
<p>图片不能太大，太大的图片加载太慢，影响用户体验。这是 <a href="http://www.tuhaokuai.com/" target="_blank" rel="noopener">压缩图片的利器</a>和 <a href="http://optimizilla.com/zh/" target="_blank" rel="noopener">压缩图片的神器--完全可以压缩到你希望的大小</a></p>
<h1 id="开源协议的使用">开源协议的使用</h1>
<p>相信很多新人都不知道开源协议到底是怎么样的，<a href="http://www.gcssloop.com/tips/choose-license" target="_blank" rel="noopener">这里</a> 有一个介绍开源协议的教程，可以参考一下。<a href="http://tenfee.blog.51cto.com/6353835/1890709" target="_blank" rel="noopener">这一个</a> 是为一个项目添加一个开源协议的教程。</p>
<h1 id="使用github的图片源的问题">使用github的图片源的问题</h1>
<p>之前在github上使用github的图片源时直接使用那一长串的https链接就可以了，但是在 github page搭建的博客上不可以这么用，遮掩的后果是无法显示图片。</p>
<ul>
<li><strong>第一种解决方法(推荐)</strong></li>
</ul>
<p>要想在自己博客上显示某张图片，直接将这张图片一起上传到github上就可以了，然后 使用图片的相对路径。如下是一个例子。 <figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">![](/img/jekyll/git图片源问题.png)</span><br></pre></td></tr></table></figure></p>
<div class="figure">
<img src="/img/jekyll/git图片源问题.png">

</div>
<ul>
<li>第二种解决方法</li>
</ul>
<p>将图片上传到图床，然后图床会提供一个url，然后使用这个url就可以显示图片了。</p>
<p>推荐的图床：<a href="https://www.qiniu.com/" target="_blank" rel="noopener">七牛云</a>，<a href="https://sm.ms/" target="_blank" rel="noopener">SM.MS</a></p>
<h1 id="markdown选用">markdown选用</h1>
<p>pygments和redcarpet，在github page上已经不再支持，所以我们要使用替代的 rouge和kramdown，如下更改_config.yml <figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">markdown: kramdown</span><br><span class="line">kramdown:</span><br><span class="line">    input: GFM</span><br><span class="line">highlighter: rouge</span><br></pre></td></tr></table></figure></p>
<h1 id="给博客绑定自己的域名">给博客绑定自己的域名</h1>
<p>觉得github的二级域名不够酷炫，那就 <strong>绑定自己的域名</strong> 吧，我是去Ali的<a href="https://wanwang.aliyun.com/domain/?spm=5176.200001.n2.14.DFABZN" target="_blank" rel="noopener">万网</a> 买的，自带云解析，一年也就几十块，便宜的才9.9。</p>
<p>万网支持直接绑定 <strong>CNAME</strong>，所以..上个图先 <figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="/img/jekyll/绑定域名.png" alt="" title="">
                </div>
                <div class="image-caption"></div>
            </figure></p>
<p>如果不支持绑定 <strong>CNAME</strong> 的，就选择记录类型为A，添加github的ip地址 <strong>192.30.252.153</strong> 和 <strong>192.30.252.154</strong> 就可以了，再上个图。 <figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="/img/jekyll/绑定域名2.png" alt="" title="">
                </div>
                <div class="image-caption"></div>
            </figure></p>
<p><strong>参考源</strong></p>
<ul>
<li><a href="http://www.jianshu.com/p/e68fba58f75c" target="_blank" rel="noopener">利用 GitHub Pages 快速搭建个人博客</a></li>
<li><a href="https://www.zhihu.com/question/30018945" target="_blank" rel="noopener">github上利用jekyll搭建自己的blog的操作顺序？</a></li>
<li><a href="http://www.jianshu.com/p/aadffb90d634" target="_blank" rel="noopener">Jekyll搭建个人博客</a></li>
<li><a href="https://www.thinktxt.com/jekyll/2017/02/05/jekyll-series-github-pages-bind-custom-domain.html" target="_blank" rel="noopener">玩转jekyll系列（二）之为GitHub Pages博客绑定自定义域名</a></li>
<li><a href="https://crispgm.com/page/48-tips-for-jekyll-you-should-know.html" target="_blank" rel="noopener">48 个你需要知道的 Jekyll 使用技巧</a></li>
<li><a href="http://cnitzone.com/blog/2015/01/jekyll-banding-domain/" target="_blank" rel="noopener">Jekyll--绑定域名</a></li>
</ul>

        </div>

        <blockquote class="post-copyright">
    
    <div class="content">
        
<span class="post-time">
    最后更新时间：<time datetime="2017-08-14T13:26:28.000Z" itemprop="dateUpdated">2017-08-14 21:26:28</time>
</span><br>


        
        下方的留言框比较调皮，有时候故意不出来，而且还是滚刀肉，实在拿他没办法，所以如果等得不爽可以直接去<a href="https://github.com/greedyhao/greedyhao.github.io/issues" target="_blank" rel="external">issues</a>给我留言
        
    </div>
    
    <footer>
        <a href="http://greedyhao.cc">
            <img src="/img/portrait.jpg" alt="Greedyhao">
            Greedyhao
        </a>
    </footer>
</blockquote>

        
<div class="page-reward">
    <a id="rewardBtn" href="javascript:;" class="page-reward-btn waves-effect waves-circle waves-light">赏</a>
</div>



        <div class="post-footer">
            
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/jekyll/">jekyll</a></li></ul>


            
<div class="page-share-wrap">
    

<div class="page-share" id="pageShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://greedyhao.cc/2017/08/11/工作-jekyll-2017-08-11-完整版搭建博客教学/&title=《利用github page搭建博客完整版教程》 — Zhuhao's Blog&pic=http://greedyhao.cc/img/portrait.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://greedyhao.cc/2017/08/11/工作-jekyll-2017-08-11-完整版搭建博客教学/&title=《利用github page搭建博客完整版教程》 — Zhuhao's Blog&source=前言
前两天为了搭建博客，踩了不少的坑，但是昨天发的简易版教程图的是简单，就没把那些复杂的东西放上来， 今天就把我踩过的坑连带着进阶的知识放上来，让你们可..." data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://greedyhao.cc/2017/08/11/工作-jekyll-2017-08-11-完整版搭建博客教学/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《利用github page搭建博客完整版教程》 — Zhuhao's Blog&url=http://greedyhao.cc/2017/08/11/工作-jekyll-2017-08-11-完整版搭建博客教学/&via=http://greedyhao.cc" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://greedyhao.cc/2017/08/11/工作-jekyll-2017-08-11-完整版搭建博客教学/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>



    <a href="javascript:;" id="shareFab" class="page-share-fab waves-effect waves-circle">
        <i class="icon icon-share-alt icon-lg"></i>
    </a>
</div>



        </div>
    </div>

    
<nav class="post-nav flex-row flex-justify-between">
  
    <div class="waves-block waves-effect prev">
      <a href="/2017/08/11/工作-stm32-2017-08-12-初始化发生冲突/" id="post-prev" class="post-nav-link">
        <div class="tips"><i class="icon icon-angle-left icon-lg icon-pr"></i> Prev</div>
        <h4 class="title">解决LCD初始化与串口初始化的冲突</h4>
      </a>
    </div>
  

  
    <div class="waves-block waves-effect next">
      <a href="/2017/08/10/工作-stm32-2017-08-10-TFTLCD-FSMC/" id="post-next" class="post-nav-link">
        <div class="tips">Next <i class="icon icon-angle-right icon-lg icon-pl"></i></div>
        <h4 class="title">学习TFT-FSMC</h4>
      </a>
    </div>
  
</nav>



    


<section class="comments" id="comments">
    <div id="disqus_thread"></div>
    <script>
    var disqus_shortname = 'greedyhao';
    lazyScripts.push('//' + disqus_shortname + '.disqus.com/embed.js')
    </script>
    <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</section>
















</article>

<div id="reward" class="page-modal reward-lay">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <h3 class="reward-title">
        <i class="icon icon-quote-left"></i>
        谢谢打赏
        <i class="icon icon-quote-right"></i>
    </h3>
    <div class="reward-content">
        
        <div class="reward-code">
            <img id="rewardCode" src="/img/wechat.jpg" alt="打赏二维码">
        </div>
        
        <label class="reward-toggle">
            <input id="rewardToggle" type="checkbox" class="reward-toggle-check"
                data-wechat="/img/wechat.jpg" data-alipay="/img/alipay.jpg">
            <div class="reward-toggle-ctrol">
                <span class="reward-toggle-item wechat">微信</span>
                <span class="reward-toggle-label"></span>
                <span class="reward-toggle-item alipay">支付宝</span>
            </div>
        </label>
        
    </div>
</div>



</div>

        <footer class="footer">
    <div class="top">
        
<p>
    <span id="busuanzi_container_site_uv" style='display:none'>
        站点总访客数：<span id="busuanzi_value_site_uv"></span>
    </span>
    <span id="busuanzi_container_site_pv" style='display:none'>
        站点总访问量：<span id="busuanzi_value_site_pv"></span>
    </span>
</p>


        <p>
            
                <span><a href="/atom.xml" target="_blank" class="rss" title="rss"><i class="icon icon-lg icon-rss"></i></a></span>
            
            <span>博客内容遵循 <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">知识共享 署名 - 非商业性 - 相同方式共享 4.0 国际协议</a></span>
        </p>
    </div>
    <div class="bottom">
        <p><span>Greedyhao &copy; 2017 - 2018</span>
            <span>
                
                Power by <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="https://github.com/yscoder/hexo-theme-indigo" target="_blank">indigo</a>
            </span>
        </p>
    </div>
</footer>

    </main>
    <div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>



<div class="global-share" id="globalShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://greedyhao.cc/2017/08/11/工作-jekyll-2017-08-11-完整版搭建博客教学/&title=《利用github page搭建博客完整版教程》 — Zhuhao's Blog&pic=http://greedyhao.cc/img/portrait.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://greedyhao.cc/2017/08/11/工作-jekyll-2017-08-11-完整版搭建博客教学/&title=《利用github page搭建博客完整版教程》 — Zhuhao's Blog&source=前言
前两天为了搭建博客，踩了不少的坑，但是昨天发的简易版教程图的是简单，就没把那些复杂的东西放上来， 今天就把我踩过的坑连带着进阶的知识放上来，让你们可..." data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://greedyhao.cc/2017/08/11/工作-jekyll-2017-08-11-完整版搭建博客教学/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《利用github page搭建博客完整版教程》 — Zhuhao's Blog&url=http://greedyhao.cc/2017/08/11/工作-jekyll-2017-08-11-完整版搭建博客教学/&via=http://greedyhao.cc" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://greedyhao.cc/2017/08/11/工作-jekyll-2017-08-11-完整版搭建博客教学/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>


<div class="page-modal wx-share" id="wxShare">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <p>扫一扫，分享到微信</p>
    <img src="" alt="微信分享二维码">
</div>




    <script src="//cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>
<script>
var BLOG = { ROOT: '/', SHARE: true, REWARD: true };


</script>

<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/main.min.js"></script>


<div class="search-panel" id="search-panel">
    <ul class="search-result" id="search-result"></ul>
</div>
<template id="search-tpl">
<li class="item">
    <a href="{path}" class="waves-block waves-effect">
        <div class="title ellipsis" title="{title}">{title}</div>
        <div class="flex-row flex-middle">
            <div class="tags ellipsis">
                {tags}
            </div>
            <time class="flex-col time">{date}</time>
        </div>
    </a>
</li>
</template>

<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/search.min.js" async></script>



<!-- mathjax config similar to math.stackexchange -->

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
    tex2jax: {
        inlineMath: [ ['$','$'], ["\\(","\\)"]  ],
        processEscapes: true,
        skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
    }
});

MathJax.Hub.Queue(function() {
    var all = MathJax.Hub.getAllJax(), i;
    for(i=0; i < all.length; i += 1) {
        all[i].SourceElement().parentNode.className += ' has-jax';
    }
});
</script>

<script async src="//cdn.bootcss.com/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML" async></script>




<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>



<script>
(function() {
    var OriginTitile = document.title, titleTime;
    document.addEventListener('visibilitychange', function() {
        if (document.hidden) {
            document.title = '再见';
            clearTimeout(titleTime);
        } else {
            document.title = '你好';
            titleTime = setTimeout(function() {
                document.title = OriginTitile;
            },2000);
        }
    });
})();
</script>



</body>
</html>
